// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.AssetsCostDao;
import com.liuxinlong.modules.entity.AssetsCost;
import com.liuxinlong.modules.mapper.AssetsCostMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * AssetsCostDaoImpl
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2023年12月07日
 */
@Service
public class AssetsCostDaoImpl extends ServiceImpl<AssetsCostMapper, AssetsCost> implements AssetsCostDao {

    @Override
    public List<AssetsCost> pageAssetsCostInfo(Map<String, Object> queryParam) {
        return baseMapper.pageAssetsCostInfo(queryParam);
    }

    @Override
    public int getAssetsCostInfoCount(Map<String, Object> queryParam) {
        return baseMapper.getAssetsCostInfoCount(queryParam);
    }

    @Override
    public List<AssetsCost> getAssetsCostList(Map<String, Object> queryParam) {
        return new ArrayList<>();
    }

    @Override
    public void deleteAssetsCostById(String assetsId) {
        baseMapper.deleteAssetsCostById(assetsId);
    }

    @Override
    public void updateStatusById(List<String> idList, String operateUser, String operateTime) {
        baseMapper.updateStatusById(idList, operateUser, operateTime);
    }

    @Override
    public List<AssetsCost> getEffectiveCostInfo() {
        return baseMapper.getEffectiveCostInfo();
    }
}
